<!DOCTYPE html>
<html>
<head>
  <title>欢迎</title>
</head>
<body>
  <div>成功啦</div>
  <!-- 前端页面 -->
  <script>
      // 获取查询字符串
      const queryString = window.location.search;

      // 将查询字符串解析为对象
      const params = new URLSearchParams(queryString);
      const paramsObj = {};

      params.forEach((value, key) => {
          paramsObj[key] = value;
      });

      alert(JSON.stringify(paramsObj));
  </script>
</body>
</html>
